<?php
    $total = 0;
?>
<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
    <h4 class="modal-title" id="myModalLabel">Liên hệ</h4>
</div>
<div class="modal-body">
    <blockquote>
        <p class="text-upper"><i class="glyphicon glyphicon-paperclip"></i> <?php echo $contact->getSubject(); ?></p>
        <footer>
            <span class="selected">
                <i class="glyphicon glyphicon-user mgr5"></i> <?php echo $contact->getName(); ?>
            </span>
            <span class="selected mgt10">
                <i class="glyphicon glyphicon-envelope mgr5"></i>
                <a href="mailto:<?php echo $contact->getEmail(); ?>"><?php echo $contact->getEmail(); ?></a>
            </span>
            <span class="selected mgt10">
                <i class="glyphicon glyphicon-calendar mgr5"></i> <?php echo $contact->getCreatedAt(); ?>
            </span>
        </footer>
    </blockquote>
    <div class="text-hyphens">
        <?php echo $contact->getMessage(); ?>
    </div>
</div>